<?php
/**
 *
 * Created by PhpStorm.
 * User: liangtiehui
 * Date: 2015/12/29
 * Time: 22:52
 */

namespace Builder;

/**
 * 抽象建造者
 */
abstract class Builder
{
    /**
     * 产品零件构造方法1
     * @return mixed
     */
    public abstract function buildPart1();

    /**
     * 产品零件构造方法2
     * @return mixed
     */
    public abstract function buildPart2();

    /**
     * 产品返回结果
     * @return mixed
     */
    public abstract function getResult();

}